/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cmti.skeleton.service.impl;

import com.cmti.skeleton.dao.mapper.SysDictMapper;
import com.cmti.skeleton.entity.SysDict;
import com.cmti.skeleton.service.SysDictService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author danny
 */
@Service
@Transactional(readOnly = true)
public class SysDictServiceImpl implements SysDictService {

    @Autowired
    SysDictMapper dictMapper;
    
    @Override
    public List<SysDict> getDictListByCategory(String category) {
        return dictMapper.selectListByCategory(category);
    }
    
}
